Optimal. Leaf size=69 \[ -\frac{A b-a B}{2 b^2 (a+b x) \sqrt{a^2+2 a b x+b^2 x^2}}-\frac{B}{b^2 \sqrt{a^2+2 a b x+b^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0225895, antiderivative size = 69, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077, Rules used = {640, 607} \[ -\frac{A b-a B}{2 b^2 (a+b x) \sqrt{a^2+2 a b x+b^2 x^2}}-\frac{B}{b^2 \sqrt{a^2+2 a b x+b^2 x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 640
Rule 607
Rubi steps
\begin{align*} \int \frac{A+B x}{\left (a^2+2 a b x+b^2 x^2\right )^{3/2}} \, dx &=-\frac{B}{b^2 \sqrt{a^2+2 a b x+b^2 x^2}}+\frac{\left (2 A b^2-2 a b B\right ) \int \frac{1}{\left (a^2+2 a b x+b^2 x^2\right )^{3/2}} \, dx}{2 b^2}\\ &=-\frac{B}{b^2 \sqrt{a^2+2 a b x+b^2 x^2}}-\frac{A b-a B}{2 b^2 (a+b x) \sqrt{a^2+2 a b x+b^2 x^2}}\\ \end{align*}
Mathematica [A] time = 0.0155158, size = 39, normalized size = 0.57 \[ \frac{-B (a+2 b x)-A b}{2 b^2 (a+b x) \sqrt{(a+b x)^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 32, normalized size = 0.5 \begin{align*} -{\frac{ \left ( bx+a \right ) \left ( 2\,bBx+Ab+aB \right ) }{2\,{b}^{2}} \left ( \left ( bx+a \right ) ^{2} \right ) ^{-{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.992737, size = 85, normalized size = 1.23 \begin{align*} -\frac{B}{\sqrt{b^{2} x^{2} + 2 \, a b x + a^{2}} b^{2}} - \frac{A}{2 \,{\left (b^{2}\right )}^{\frac{3}{2}}{\left (x + \frac{a}{b}\right )}^{2}} + \frac{B a}{2 \,{\left (b^{2}\right )}^{\frac{3}{2}} b{\left (x + \frac{a}{b}\right )}^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.24141, size = 81, normalized size = 1.17 \begin{align*} -\frac{2 \, B b x + B a + A b}{2 \,{\left (b^{4} x^{2} + 2 \, a b^{3} x + a^{2} b^{2}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{A + B x}{\left (\left (a + b x\right )^{2}\right )^{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \mathit{sage}_{0} x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]